<?php 

/**
* 留言增加控制器
*/
class SnsController extends Controller
{
	
	public function Add()
	{
		$data = $_POST;
		$data['create_time']=time();
		$res = M('sns')->add($data);
	}

	public function Del()
	{
		var_dump($_GET['id']);
	}
}











 ?>